package com.lagou.rabbitmqttl.pojo;

import java.io.Serializable;

public class Order implements Serializable {

    public static final int UN_PAY = 0;
    public static final int PAY_SUCCESS = 1;
    public static final int PAY_TIMEOUT = 2;

    private String orderNum;
    private int payStatus = UN_PAY;

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public int getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(int payStatus) {
        this.payStatus = payStatus;
    }

    @Override
    public String toString() {
        return "Order{" +
                "orderNum='" + orderNum + '\'' +
                ", payStatus=" + payStatus +
                '}';
    }
}
